package com.lizx.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 
 * @TableName tb_expenditure
 */
@TableName(value ="tb_expenditure")
public class Expenditure implements Serializable {
    /**
     * 
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private String projectName;

    /**
     * 
     */
    private Integer projectId;

    /**
     * 
     */
    private BigDecimal price;

    /**
     * 0：初始提交，1:审核成功，2：驳回
     */
    private String status;

    /**
     * 
     */
    @DateTimeFormat(pattern="yyyy-MM-dd")  //前端页面转换到Date字段
    private Date createTime;

    /**
     * 
     */
    @DateTimeFormat(pattern="yyyy-MM-dd")  //前端页面转换到Date字段
    private Date updateTime;

    @TableField(exist = false)
    private Date searchMonth;

    /**
     * 
     */
    private String notes;

    private int isdel;

    private Integer aid;
    private String aname;

    private String openid;
    private String uname;

    private Integer dataArchiving;

    private Integer dataArId;


    @TableField(exist = false)
    private List<String> imgList;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public Integer getProjectId() {
        return projectId;
    }

    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public int getIsdel() {
        return isdel;
    }

    public void setIsdel(int isdel) {
        this.isdel = isdel;
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public String getAname() {
        return aname;
    }

    public void setAname(String aname) {
        this.aname = aname;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public List<String> getImgList() {
        return imgList;
    }

    public void setImgList(List<String> imgList) {
        this.imgList = imgList;
    }

    public Date getSearchMonth() {
        return searchMonth;
    }

    public void setSearchMonth(Date searchMonth) {
        this.searchMonth = searchMonth;
    }

    public Integer getDataArchiving() {
        return dataArchiving;
    }

    public void setDataArchiving(Integer dataArchiving) {
        this.dataArchiving = dataArchiving;
    }

    public Integer getDataArId() {
        return dataArId;
    }

    public void setDataArId(Integer dataArId) {
        this.dataArId = dataArId;
    }
}